﻿<Window x:Class="wInicial"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="wInicial" Height="600" Width="900" xmlns:my="clr-namespace:ASAP.Cliente" WindowStartupLocation="CenterScreen">

    <Grid Margin="10">
        <Border BorderThickness="0" CornerRadius="7" BorderBrush="#FF070606" OpacityMask="Black">
            <Border.Background>
                <ImageBrush ImageSource="/ASAP.Cliente;component/Images/HPRadiance.jpg" />
            </Border.Background>
            <Border.BitmapEffect>
                <DropShadowBitmapEffect Color="Black" Direction="0" ShadowDepth="1" 
                                        Softness="0.6" Opacity="0.5"/>
            </Border.BitmapEffect>
            <Grid>
                <Grid.RowDefinitions >
                    <RowDefinition Height="50"></RowDefinition>
                    <RowDefinition Height="*"></RowDefinition>
                </Grid.RowDefinitions>
                <Grid.ColumnDefinitions >
                    <ColumnDefinition ></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <Grid>
                    <Grid.RowDefinitions >
                        <RowDefinition ></RowDefinition>
                    </Grid.RowDefinitions>
                    <Grid.ColumnDefinitions >
                        <ColumnDefinition Width="*"></ColumnDefinition>
                        <ColumnDefinition Width="Auto" ></ColumnDefinition>
                        <ColumnDefinition Width="*"></ColumnDefinition>
                    </Grid.ColumnDefinitions>
                    
                    <Label Margin="15,5,5,5" Grid.Row="0" Grid.Column="0" 
                       Content="ASAP" Foreground="#FFF5EFEF" 
                       FontSize="26" FontWeight="Bold"></Label>

                    <Grid  Grid.Row="0" Grid.Column="1">
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition ></ColumnDefinition>
                            <ColumnDefinition ></ColumnDefinition>
                            <ColumnDefinition ></ColumnDefinition>
                            <ColumnDefinition ></ColumnDefinition>
                            <ColumnDefinition ></ColumnDefinition>
                        </Grid.ColumnDefinitions>
                        <Grid.RowDefinitions>
                            <RowDefinition></RowDefinition>
                            <RowDefinition></RowDefinition>
                        </Grid.RowDefinitions>

                        <Label Name="lblNivel" Content="Nivel" Grid.Column="0" Grid.Row="0" Foreground="#FFF5F509" FontSize="12" ></Label>
                        <ComboBox Name="cbNivel" Grid.Column="1" Width="Auto" Grid.Row="0" Height="20">
                            <ComboBoxItem Content="Principiante" />
                            <ComboBoxItem Content="Intermedio" />                            
                            <ComboBoxItem Content="Intermedio2" />
                            <ComboBoxItem Content="Avanzado" />
                        </ComboBox>

                        <Label Name="lblModo"  Content="Modo" Grid.Column="0" Grid.Row="1" Foreground="#FFF5F509" FontSize="12" ></Label>
                        <ComboBox Name="cbModo"  Width="Auto" Grid.Column="1" Grid.Row="1" Height="20">
                            <ComboBoxItem Content="Exámen" />
                            <ComboBoxItem Content="Práctica" />
                        </ComboBox>

                        <Label Name="lblTipoEjercicio"  Content="Tipo ejercicio" Grid.Column="2" Grid.Row="0" Foreground="#FFF5F509" FontSize="12" ></Label>
                        <ComboBox Name="cbTipoEjercicio"  Width="Auto" Grid.Column="3" Grid.Row="0"  Height="20">
                            <ComboBoxItem Content="Todo" />
                            <ComboBoxItem Content="Expresión de la semana" />
                            <ComboBoxItem Content="Vocabulario" />
                            <ComboBoxItem Content="Números" />
                            <ComboBoxItem Content="Gimnasia verbal" />
                            <ComboBoxItem Content="Phrasal verb" />
                        </ComboBox>

                        <Label Name="lblTeoria"  Content="Teoría" Grid.Column="2" Grid.Row="1" Foreground="#FFF5F509" FontSize="12" ></Label>
                        <ComboBox Name="cbTeoria"  Width="Auto" Grid.Column="3" Grid.Row="1"  Height="20">
                        </ComboBox>

                        <Button Grid.Column="4" Grid.Row="1" Name="btnAplicar" Margin="5,0,0,0">Aplicar</Button>
                    </Grid>
                    
                                   

                    <StackPanel  Grid.Row="0" Grid.Column="3"  Orientation="Horizontal" HorizontalAlignment="Right">
                        <TextBlock Name="tbEstadisticas"  FontSize="15" VerticalAlignment="Center" >
                        <Hyperlink Foreground="#FFF5F509">Estadísticas</Hyperlink>
                        </TextBlock>
                        <TextBlock Name="tbAnalisiRonda"  FontSize="15" VerticalAlignment="Center" Margin="10,0,10,0">
                        <Hyperlink Foreground="#FFF5F509">Análisis ronda</Hyperlink>
                        </TextBlock>
                    </StackPanel>
                    

                </Grid>
                <Border Name="BorderEstad" Margin="10,0,10,10" Grid.Row="1" 
                        BorderThickness="0" CornerRadius="7" 
                        BorderBrush="#FF070606">
                    <Border.Background>
                        <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0">
                            <GradientStop Color="#F4C7DBEB" Offset="0.205" />
                            <GradientStop Color="#D9FFFFFF" Offset="1" />
                        </LinearGradientBrush>
                    </Border.Background>
                    <!-- GRID PRINCIPAL -->
                    <Grid>
                        <Grid.RowDefinitions >
                            <RowDefinition Height="*"></RowDefinition>
                        </Grid.RowDefinitions>
                        <Grid.ColumnDefinitions >
                            <ColumnDefinition Width="*"></ColumnDefinition>
                            <ColumnDefinition Width="250"></ColumnDefinition>
                        </Grid.ColumnDefinitions>

                        <ScrollViewer Grid.Row="0" Grid.Column="1" VerticalScrollBarVisibility="Auto">
                            <StackPanel>
                                <Border Margin="5,5,5,5" BorderThickness="0" CornerRadius="7"
                                        BorderBrush="#FF070606" Background="#C9FFFFFF">
                                    <Expander  Name="ExpRonda" Header="Información de la ronda" Margin="5,5,5,5" FontWeight="Bold" 
                                               Background="#C9FFFFFF"  >
                                        <my:usrInfoRonda x:Name="UsrInfoRonda1" />
                                    </Expander>
                                </Border>
                                <Border Margin="5,5,5,5" BorderThickness="0" CornerRadius="7"
                                        BorderBrush="#FF070606" Background="#C9FFFFFF">
                                    <Expander  Name="ExpEjer" Header="Información del ejercicio (F8)" Margin="5,5,5,5" FontWeight="Bold" 
                                               Background="#C9FFFFFF"  >
                                        <my:usrInfoEjercicio x:Name="UsrInfoEjercicio1"/>
                                    </Expander>
                                </Border>
                            </StackPanel>
                        </ScrollViewer>
                        <Border Grid.Row="0" Grid.Column="0" Margin="5,5,0,5" BorderThickness="0" CornerRadius="7"
                                        BorderBrush="#FF070606" Background="#C9FFFFFF">
                            <Grid>
                                <Grid.RowDefinitions >
                                    <RowDefinition></RowDefinition>
                                    <RowDefinition Height="50"></RowDefinition>
                                </Grid.RowDefinitions>
                                <my:PreguntaEjercicio x:Name="PreguntaEjercicio1"/>
                                <Button Name="btnSiguiente" Grid.Row="1" Margin="5" FontSize="16">Siguiente (F2)</Button>
                            </Grid>

                        </Border>

                    </Grid>
                </Border>
            </Grid>
        </Border>
    </Grid>

</Window>
